package com.pagoda.nerp.trade.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.Date;

@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
public class AccUsers {
    /**
     * 用户ID
     *
     * @mbg.generated
     */
    private Integer userId;

    /**
     * 用户代码
     *
     * @mbg.generated
     */
    private String userCode;

    /**
     * 登陆密码：md5密文，用User_Id参与加密
     *
     * @mbg.generated
     */
    private String password;

    /**
     * 用户类型：A-管理员；C-供应商；E-员工；S-待定
     *
     * @mbg.generated
     */
    private String userType;

    /**
     * 用户昵称
     *
     * @mbg.generated
     */
    private String userNickName;

    /**
     * 员工编码：导入数据用途，界面不展示
     *
     * @mbg.generated
     */
    private String employeeCode;

    /**
     * 供应商代码：导入数据用途，界面不展示
     *
     * @mbg.generated
     */
    private String vendorCode;

    /**
     * 每页显示行数
     *
     * @mbg.generated
     */
    private Integer linesPerpage;

    /**
     * 是否限制客户端IP(N：否；Y：是)
     *
     * @mbg.generated
     */
    private String isIpLimited;

    /**
     * 可用标识(N：否；Y：是)
     *
     * @mbg.generated
     */
    private String isEnabled;

    /**
     * 用户描述
     *
     * @mbg.generated
     */
    private String userDesc;

    /**
     * 手机号码
     *
     * @mbg.generated
     */
    private String mobileCode;

    /**
     * 是否限制网卡(N：否；Y：是)
     *
     * @mbg.generated
     */
    private String isMacLimited;

    /**
     * 密码过期天数
     *
     * @mbg.generated
     */
    private Integer passwordOverDayNum;

    /**
     * 密码最后修改时间
     *
     * @mbg.generated
     */
    private Date passwordModifyDay;

    /**
     * 邮箱地址
     *
     * @mbg.generated
     */
    private String email;

    /**
     * 登陆是否提醒(N：否；Y：是)
     *
     * @mbg.generated
     */
    private String loginSmsNotify;

    /**
     * 首次登陆日期
     *
     * @mbg.generated
     */
    private Date beginDate;

    /**
     * 手机号码-NA
     *
     * @mbg.generated
     */
    private String mobileNo;

    /**
     * 微信号
     *
     * @mbg.generated
     */
    private String weiXinNo;

    /**
     * 创建人
     *
     * @mbg.generated
     */
    private String createUser;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改人
     *
     * @mbg.generated
     */
    private String modifyUser;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date modifyTime;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode == null ? null : userCode.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType == null ? null : userType.trim();
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName == null ? null : userNickName.trim();
    }

    public String getEmployeeCode() {
        return employeeCode;
    }

    public void setEmployeeCode(String employeeCode) {
        this.employeeCode = employeeCode == null ? null : employeeCode.trim();
    }

    public String getVendorCode() {
        return vendorCode;
    }

    public void setVendorCode(String vendorCode) {
        this.vendorCode = vendorCode == null ? null : vendorCode.trim();
    }

    public Integer getLinesPerpage() {
        return linesPerpage;
    }

    public void setLinesPerpage(Integer linesPerpage) {
        this.linesPerpage = linesPerpage;
    }

    public String getIsIpLimited() {
        return isIpLimited;
    }

    public void setIsIpLimited(String isIpLimited) {
        this.isIpLimited = isIpLimited == null ? null : isIpLimited.trim();
    }

    public String getIsEnabled() {
        return isEnabled;
    }

    public void setIsEnabled(String isEnabled) {
        this.isEnabled = isEnabled == null ? null : isEnabled.trim();
    }

    public String getUserDesc() {
        return userDesc;
    }

    public void setUserDesc(String userDesc) {
        this.userDesc = userDesc == null ? null : userDesc.trim();
    }

    public String getMobileCode() {
        return mobileCode;
    }

    public void setMobileCode(String mobileCode) {
        this.mobileCode = mobileCode == null ? null : mobileCode.trim();
    }

    public String getIsMacLimited() {
        return isMacLimited;
    }

    public void setIsMacLimited(String isMacLimited) {
        this.isMacLimited = isMacLimited == null ? null : isMacLimited.trim();
    }

    public Integer getPasswordOverDayNum() {
        return passwordOverDayNum;
    }

    public void setPasswordOverDayNum(Integer passwordOverDayNum) {
        this.passwordOverDayNum = passwordOverDayNum;
    }

    public Date getPasswordModifyDay() {
        return passwordModifyDay;
    }

    public void setPasswordModifyDay(Date passwordModifyDay) {
        this.passwordModifyDay = passwordModifyDay;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getLoginSmsNotify() {
        return loginSmsNotify;
    }

    public void setLoginSmsNotify(String loginSmsNotify) {
        this.loginSmsNotify = loginSmsNotify == null ? null : loginSmsNotify.trim();
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public String getMobileNo() {
        return mobileNo;
    }

    public void setMobileNo(String mobileNo) {
        this.mobileNo = mobileNo == null ? null : mobileNo.trim();
    }

    public String getWeiXinNo() {
        return weiXinNo;
    }

    public void setWeiXinNo(String weiXinNo) {
        this.weiXinNo = weiXinNo == null ? null : weiXinNo.trim();
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(String modifyUser) {
        this.modifyUser = modifyUser == null ? null : modifyUser.trim();
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    public String toString() {
        return "AccUsers{" +
                "userId=" + userId +
                ", userCode='" + userCode + '\'' +
                ", password='" + password + '\'' +
                ", userType='" + userType + '\'' +
                ", userNickName='" + userNickName + '\'' +
                ", employeeCode='" + employeeCode + '\'' +
                ", vendorCode='" + vendorCode + '\'' +
                ", linesPerpage=" + linesPerpage +
                ", isIpLimited='" + isIpLimited + '\'' +
                ", isEnabled='" + isEnabled + '\'' +
                ", userDesc='" + userDesc + '\'' +
                ", mobileCode='" + mobileCode + '\'' +
                ", isMacLimited='" + isMacLimited + '\'' +
                ", passwordOverDayNum=" + passwordOverDayNum +
                ", passwordModifyDay=" + passwordModifyDay +
                ", email='" + email + '\'' +
                ", loginSmsNotify='" + loginSmsNotify + '\'' +
                ", beginDate=" + beginDate +
                ", mobileNo='" + mobileNo + '\'' +
                ", weiXinNo='" + weiXinNo + '\'' +
                ", createUser='" + createUser + '\'' +
                ", createTime=" + createTime +
                ", modifyUser='" + modifyUser + '\'' +
                ", modifyTime=" + modifyTime +
                '}';
    }
}